﻿namespace EFS.RC.CommunicatorContext.Recorder
{
	public partial class Paused : EFS.Common.UI.Controls.ChildWindow
	{
		// Constructor
		public Paused()
		{
			InitializeComponent();
		}

		/// <summary>
		/// Selection changed time callback 
		/// </summary>
		public void SetPauseLength(System.Int64 length)
		{
			// message
			autoCompleteTimerCounter.Text = System.String.Format("CDP Started: {0}", EFS.RC.CommunicatorContext.Common.Functions.TimeSpanDescription(length));
		}

		/// <summary>
		/// Complete
		/// </summary>
		/// <param name="sender"></param>
		/// <param name="e"></param>
		private void buttonCompleted_Click(object sender, System.Windows.RoutedEventArgs e)
		{
			Close();
		}
	}
}

